package com.gxuwz.enums;

/**
 * Created by h on 2017/12/4.
 */
public enum WebResultEnum {
    UNKONW_ERROR(-1,"未知错误"),
    SUCCESS(0,"成功")
    ;
    private Integer code;
    private String message;

    WebResultEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
